#define _CRT_SECURE_NO_WARNINGS 1

#include "SmartPtr.h"


int main()
{
	Shared_Ptr<int> sp1(new int(10));
	std::cout << *sp1 << std::endl;

	Shared_Ptr<int> sp2(sp1);

	Shared_Ptr<int> sp3(new int(30));
	Shared_Ptr<int> sp4(new int(40));

	sp3 = sp4;
	return 0;
}